/*
 * @Author: hua
 * @Date: 2020-04-09 10:54:37
 * @description: 认证操作
 * @LastEditors: hua
 * @LastEditTime: 2020-07-20 17:34:13
 */
import request from '@/utils/request'

/**
 * 登出
 */
export function logout() {
    return request({
        url: 'auth/logout',
        method: 'post',
    });
}

/**
 * 刷新
 */
export function refresh() {
    return request({
        url: 'auth/refresh',
        method: 'post',
    });
}
